#ifndef DATAS_H
#define DATAS_H

#include <QObject>
#include <QRandomGenerator>

class datas : public QObject
{
    Q_OBJECT
public:
    explicit datas(QObject *parent = nullptr);
    Q_INVOKABLE int count();
    Q_INVOKABLE double getX(int index);
    Q_INVOKABLE double getY(int index);
private:
    QList<QPair<double, double>> m_map;
signals:

public slots:
};

#endif // DATAS_H
